package com.ruoyi.system.domain;

import java.math.BigDecimal;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * VIEW对象 view_map_data
 * 
 * @author ruoyi
 * @date 2023-06-30
 */
@ApiModel("首页")
public class ViewMapData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地址 */
    @ApiModelProperty("地址")
    @Excel(name = "地址")
    private String address;

    @ApiModelProperty("信号与干扰加信噪比")
    @Excel(name = "信号与干扰加噪声比")
    private String sinr;

    /** 参考信号接收功率 */
    @ApiModelProperty("信号接收功率")
    @Excel(name = "参考信号接收功率")
    private String rsrp;

    /** 倾斜角度 */
    @ApiModelProperty("倾斜角度")
    @Excel(name = "倾斜角度")
    private String leanAngle;

    /** 电池电压 */
    @ApiModelProperty("电池电压")
    @Excel(name = "电池电压")
    private String batteryVoltage;

    /** 状态 */
    @ApiModelProperty("状态")
    @Excel(name = "状态")
    private Long status;

    /** 经纬度 */
    @ApiModelProperty("经纬度")
    @Excel(name = "经纬度")
    private BigDecimal lat;

    /** 经纬度 */
    @Excel(name = "经纬度")
    private BigDecimal lng;

    /** 设备号 */
    @ApiModelProperty("设备号")
    @Excel(name = "设备号")
    private String snNum;
    @ApiModelProperty("设备地址")
    private String region;
    private String name;
    @ApiModelProperty("设备图片")
    private String picture;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setRsrp(String rsrp) 
    {
        this.rsrp = rsrp;
    }

    public String getRsrp() 
    {
        return rsrp;
    }
    public void setLeanAngle(String leanAngle) 
    {
        this.leanAngle = leanAngle;
    }
    public String getSinr() {
        return sinr;
    }

    public void setSinr(String sinr) {
        this.sinr = sinr;
    }
    public String getLeanAngle() 
    {
        return leanAngle;
    }
    public void setBatteryVoltage(String batteryVoltage) 
    {
        this.batteryVoltage = batteryVoltage;
    }

    public String getBatteryVoltage() 
    {
        return batteryVoltage;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setLat(BigDecimal lat) 
    {
        this.lat = lat;
    }

    public BigDecimal getLat() 
    {
        return lat;
    }
    public void setLng(BigDecimal lng) 
    {
        this.lng = lng;
    }

    public BigDecimal getLng() 
    {
        return lng;
    }
    public void setSnNum(String snNum) 
    {
        this.snNum = snNum;
    }

    public String getSnNum() 
    {
        return snNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("address", getAddress())
            .append("sinr",getSinr())
            .append("rsrp", getRsrp())
            .append("leanAngle", getLeanAngle())
            .append("batteryVoltage", getBatteryVoltage())
            .append("status", getStatus())
            .append("lat", getLat())
            .append("lng", getLng())
            .append("snNum", getSnNum())
            .toString();
    }


}
